package com.lei.ssm.mapper;

import java.util.List;

import com.lei.ssm.entity.UserAuthorityEntity;

public interface UserAuthorityMapper {
	int add(UserAuthorityEntity user);

	int update(UserAuthorityEntity user);

	int delete(Long id);

	List<UserAuthorityEntity> listAll();

	UserAuthorityEntity getByName(String codeNumber);
}
